<!DOCTYPE html>

<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8">
    <title>班级页面显示</title>
</head>
<style>
    td{
        border: 2px black solid;
    }
</style>
<body>
<h1>班级管理</h1>
<hr>
<button><a th:href="@{/adm/clz/go2Add}">添加一个新的班级</a></button>
<hr>
<table style="border: 2px black solid">
    <tr th:each="clz:${clzAll}">
        <td th:text="${clz.clzno}"></td>
        <td th:text="${clz.clzname}"></td>
        <td><a th:href="@{'/adm/clz/update?clzno='+ ${clz.clzno}} +'&clzname=' + ${clz.clzname}">修改班级名称</a></td>
        <td><a th:href="'/adm/clz/delete/'+${clz.clzno}">删除该班级</a> </td>
    </tr>
</table>
<p th:text="${state}"></p>
</body>
</html>
